﻿using MediatR;

namespace IntelligentAgriculture.WebAPI.Application.Command.RidgepCommand
{
    public class RidgepDeleteCommand:IRequest<Results<int>>
    {
        public int Id { get; set; }
        /// <summary>
        /// 构造一个 RidgepDeleteCommand 实例，用于执行删除操作
        /// </summary>
        /// <param name="id">要删除的对象的唯一标识符</param>
        public RidgepDeleteCommand(int  id)
        {
            Id = id;
        }
    }
}
